Lkn\IntegrationRedeForWoocommerce\Includes\LknIntegrationRedeForWoocommerceWcMaxipagoCredit D

Total Complexity 160
Dependencies 4
Dependents 3
Total lines 1,079
Lines of code 875
Logical lines of code 364
Comment lines 58
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
process_payment()
D
15
56 272
regOrderLogs()
C
36 26 70
process_refund()
B
32 13 111
getInstallments()
B
42 17 46
validateCpfCnpj()
B
43 17 46
initFormFields()
A
29
3 172
validate_fields()
A
49 10 31
checkoutScripts()
S
51 5 24
addNeighborhoodFieldToCheckout()
S
55 3 19
displayMeta()
S
55 2 18
getMerchantAuth()
S
57 2 15
render_payment_fields_with_total()
S
66 3 9
__construct()
S
54 1 22
getCheckoutForm()
S
62 1 13
getConfigsMaxipagoCredit()
S
68 1 7